<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<base href="<%=basePath%>"></base>
<title>修改用户信息</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$(".click").click(function() {
			$(".tip").fadeIn(200);
		});

		$(".tiptop a").click(function() {
			$(".tip").fadeOut(200);
		});

		$(".sure").click(function() {
			$(".tip").fadeOut(100);
		});

		$(".cancel").click(function() {
			$(".tip").fadeOut(100);
		});

	});
</script>

</head>


<body>
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="getUserInfoList">用户管理</a></li>
			<li><a href="userInfoUpdate.jsp">修改</a></li>
		</ul>
	</div>

	<form action="userUpdate" method="post">
		<div class="formbody">
			<div class="formtitle">
				<span>用户基本信息</span>
			</div>

			<ul class="forminfo">
				<li><label>用户编号</label><input name="memId" type="text"
					class="dfinput" value="${member.memId}" readonly/><i>编号不允许修改</i></li>
				<li><label>姓名</label><input name="cname" type="text" class="dfinput"
					value="${member.cname}" /></li>
				<li><label>性别</label>
				     <cite><input name="memSex"
						type="radio" value="M" 
						<c:if test="${member.memSex=='M'}">
						checked
						</c:if>
						/>男&nbsp;&nbsp;&nbsp;&nbsp;<input
						name="sex" type="radio" value="F" 
						<c:if test="${member.memSex=='F'}">
						checked
						</c:if>
						/>女
					 </cite></li>
				<li><label>出生日期</label><input name="memBorn" type="text"
					class="dfinput" value="${member.memBorn}" /></li>
				<li><label>角色</label><cite><select class="dfselect" name="roleid">
				            <option value="0" >请选择</option>
							<option value="1" 
							<c:if test="${member.roleid=='1'}">
						    selected
						    </c:if>
							>管理员</option>
							<option value="2"
							<c:if test="${member.roleid=='2'}">
						    selected
						    </c:if>
							>客户经理
							</option></select></cite></li>
				<li><label>&nbsp;</label><input name="" type="submit"
					class="btn" value="修改" />&nbsp;&nbsp;&nbsp;&nbsp;<input name=""
					type="reset" class="btn" value="重置" /></li>
			</ul>
		</div>
	</form>
</body>

</html>